home *** CD-ROM | disk | FTP | other *** search
/ AmigActive 10 / AACD 10.iso / AACD / Programming / MuManual / Include / libraries / 680x0.i < prev    next >
Text File  |  1999-10-31  |  3KB  |  69 lines

  1. ;*************************************************************************
  2. ;** 680x0.library                                                    **
  3. ;**                                                                     **
  4. ;** CPU driver base library                                **
  5. ;**                                                                     **
  6. ;** © 1999 THOR-Software, Thomas Richter                                **
  7. ;** No commercial use, reassembly, modification without prior, written  **
  8. ;** permission of the authors.                                          **
  9. ;** Including this library in any commercial software REQUIRES a        **
  10. ;** written permission and the payment of a small fee.                  **
  11. ;**                                                                     **
  12. ;**---------------------------------------------------------------------**
  13. ;** Definition of the library, and structures                           **
  14. ;**                                    **
  15. ;** $VER: 40.2 (31.10.99) © THOR                                   **
  16. ;*************************************************************************
  17.  
  18.         IFND LIBRARIES_680X0_I
  19.  
  20. LIBRARIES_680X0_I SET 1
  21.  
  22.         IFND EXEC_TYPES_I
  23.         INCLUDE "exec/types.i"
  24.         ENDC ; EXEC_TYPES_I
  25.  
  26.         IFND EXEC_LIBRARIES_I
  27.         INCLUDE "exec/libraries.i"
  28.         ENDC ; EXEC_LIBRARIES_I
  29.  
  30.     IFND MMU_MMUBASE_I
  31.     INCLUDE "mmu/mmubase.i"
  32.     ENDC ; MMU_MMUBASE_I
  33.  
  34.         ;* There's really nothing in this library base you need to care about *
  35.  
  36.         STRUCTURE    MC680X0Base,LIB_SIZE
  37.         LABEL        dllib_SIZE
  38.  
  39.  
  40. MC680X0NAME            MACRO
  41.                         DC.B '680x0.library',0
  42.                         ENDM
  43.  
  44.  
  45. ;* Bit definitions for the SetFPUExceptions call, exception disable
  46.  
  47.     BITDEF FPUCtrl,BSUN,0L        ;* disable branch or set on unordered
  48.     BITDEF FPUCtrl,INEX,1L        ;* disable inexact result exception
  49.     BITDEF FPUCtrl,DIVZ,2L        ;* disable divide by zero exception
  50.     BITDEF FPUCtrl,UNFL,3L        ;* disable underflow exception
  51.     BITDEF FPUCtrl,OVFL,4L        ;* disable overflow exception
  52.     BITDEF FPUCtrl,SNAN,5L        ;* disable signalling NAN exception
  53.     BITDEF FPUCtrl,OPERR,6L        ;* disable operand error exception
  54.  
  55.     CPUTYPE_68000    equ     '0'    ;* a plain 68000
  56.     CPUTYPE_68010    equ    '1'    ;* a 68010
  57.     CPUTYPE_68020    equ    '2'    ;* a 68020
  58.     CPUTYPE_68030    equ    '3'    ;* a 68030
  59.     CPUTYPE_68040    equ    '4'    ;* a 68040
  60.     CPUTYPE_68060    equ    '6'    ;* a 68060
  61.  
  62.     FPUTYPE_NONE    equ    0    ;* no FPU available
  63.     FPUTYPE_68881    equ    '1'    ;* the 68881 external FPU 
  64.     FPUTYPE_68882    equ    '2'    ;* the advanced edition of this chip
  65.     FPUTYPE_68040    equ    '4'    ;* the 68040 buildin FPU
  66.     FPUTYPE_68060    equ    '6'    ;* the 68060 buildin FPU    
  67.  
  68.         ENDC    ;LIBRARIES_680X0_I
  69.